<?xml version="1.0" encoding="UTF-8" ?>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<header style="padding-top: 10px;">
	<div class="logo" style="float: right;">
		<img src="/TAKWEEN/resources/images/logo.jpg" />
	</div>
	<h:form>
		<div style="float: left;">
			<div>
				<img src="/TAKWEEN/resources/images/facebook-icon.png" /> &#160; <img
					src="/TAKWEEN/resources/images/youtube-icon.png" /> &#160; <img
					src="/TAKWEEN/resources/images/twitter-icon.png" />
			</div>
		</div>
		<div style="clear: both;"></div>

		<ul class="nav">
			<li class="active"><a href="#fakelink"> الصفحة الرئيسية </a></li>
			<li><a href="#fakelink"> تعديل الصفحات </a>
				<ul>
					<li><p:commandLink id="cl1" value="صفحات الموقع" ajax="false"
							immediate="true" action="#{pagesBean.preparePagesSummary}" /></li>
					<li><p:commandLink id="cl4" value="القائمة" ajax="false"
							immediate="true" action="#{pagesBean.prepareMenu}" /></li>
				</ul></li>
			<li><a href="#fakelink"> تعديل متفرقات <!--<span class="navbar-unread">1</span>-->
			</a>
				<ul>

					<li><p:commandLink id="cl2" ajax="false"
							action="#{programsAdminBean.loadProgramsList}" value="البرامج"
							immediate="true">
						</p:commandLink></li>
				</ul></li>
			<li><p:commandLink id="cl3" value="خروج" ajax="false"
					immediate="true" action="#{authenticationBean.logout}" /></li>
		</ul>



		<p:ajaxStatus
			style="width:64px;height:64px;position:fixed;right:5px;bottom:5px">
			<f:facet name="start">
				<p:graphicImage value="/resources/images/loading.gif" />
			</f:facet>

			<f:facet name="complete">
				<h:outputText value="" />
			</f:facet>
		</p:ajaxStatus>
	</h:form>
</header>
</html>
